package com.ketangpai.admin.utils;

public class TokenUtil {
    public static String removeQuotes(String token) {
        if (token == null) {
            return null;
        }
        while (token.startsWith("\"") || token.startsWith("'")) {
            token = token.substring(1);
        }
        while (token.endsWith("\"") || token.endsWith("'")) {
            token = token.substring(0, token.length() - 1);
        }
        return token;
    }
}
